package cn.data.stream.annotation;

import cn.data.stream.enums.StreamType;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Scope;
import org.springframework.core.annotation.AliasFor;

/**
 * 标注 输出stream类<br>
 *    最先init,最后destroy
 *
 */
@DataStream(type=StreamType.OUTPUT)
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface OutputDataStream {

    @AliasFor(annotation =DataStream.class)
    String value() default "";
}